/*
 *  Copyright (c) 2022 ZhuHai Jieli Technology Co.,Ltd.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

#include "typedef.h"
// 暂时不用低功耗
void low_power_request(char *name)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void low_power_exit_request(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void *low_power_get(void *priv, const struct low_power_operation *ops)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");

    return NULL;
}

void low_power_check_bt_exist(u8 *edr_exist, u8 *ble_exist)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void low_power_put(void *priv)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void p33_soft_reset(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void power_reset_close(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

/* const struct syscfg_operataions *get_syscfg_btif_ops(void) */
void *get_syscfg_btif_ops(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
    return NULL;
}

void wifi_det_data_initial(u32 *data, u32 data_amount)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

unsigned long jiffies_msec(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
    return 0;
}

int log_get_time_offset(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
    return 0;
}

void log_set_time_offset(int offset)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

void wife_detect_record(void)
{
    printf("<=%s\n", __func__);
    printf("not define \n\n");
}

const int config_update_mode;
void (*lmp_ch_update_resume_hdl)(void *priv) = NULL;
const char log_tag_const_i_VM AT(.LOG_TAG_CONST) = 1;
u8 tws_auto_pair_enable = 0;

const int CONFIG_TWS_WORK_MODE                  = 1;
const int CONFIG_EX_TWS_ADJUST                  = 0;
const int CONFIG_EXTWS_NACK_LIMIT_INT_CNT       = 10;
const int CONFIG_MASTER_MAX_RX_BULK_PERSENT = 0;

void low_power_on(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
}

u8 low_power_get_osc_type(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
    return 0; // value???
}

s32 low_power_trace_drift(u32 usec)
{
    printf("%s, no defined!\n", __FUNCTION__);
    return 0;
}

u8 low_power_get_default_osc_type(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
    return 0;
}

void low_power_reset_osc_type(u8 type)
{
    printf("%s, no defined!\n", __FUNCTION__);
}

u8 power_is_poweroff_post(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
    return 0;
}

void __local_irq_disable(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
}

void __local_irq_enable(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
}

void channel_packet_clear(void)
{
    printf("%s, no defined!\n", __FUNCTION__);
}

// hobt fix build

